package com.cn.goodsadmin.service;

import com.cn.goodsadmin.po.Vip;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("vipService")
public class VipService extends BaseService{

    public void save(Vip vip)throws Exception{
        vipDao.save(vip);
    }

    public void delete(Vip vip)throws Exception{
        vipDao.delete(vip);
    }

    public void update(Vip vip)throws Exception{
        vipDao.update(vip);
    }

    public List<Vip> getAllVip(int appid) throws Exception{
        return vipDao.getAllVip(appid);
    }

}
